package com.bocloud.cmp.dao.app;

import java.util.List;
import com.bocloud.cmp.entity.app.resource.RegistrySoftware;
/**
 * 仓库镜像Dao层
 * @author Zaney
 * @data:2017年3月15日
 * @describe:
 */
public interface RegistrySoftwareDao {
	
	/**
	 * 保存
	 * @param registrySoftware
	 * @return
	 * @throws Exception
	 */
	public boolean saveRegistrySoftware(RegistrySoftware registrySoftware) throws Exception;
	/**
	 * 删除
	 * @param registrySoftware
	 * @return
	 * @throws Exception
	 */
	public boolean deleteRegistrySoftware(RegistrySoftware registrySoftware) throws Exception;
	/**
	 * 按照关联表id查询关联表信息
	 * @param softwareId
	 * @return
	 * @throws Exception
	 */
	public List<RegistrySoftware> getRegistrySoftwareById(Long softwareId) throws Exception;
	
}
